TEC\Tickets\Commerce\Gateways\PayPal\REST\Order_Endpoint S

Total Complexity 49
Dependencies 16
Dependents 2
Total lines 597
Lines of code 334
Logical lines of code 160
Comment lines 173
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
handle_recheck_order()
A
43 11 46
handle_create_order()
A
44 8 44
handle_update_order()
S
48 5 35
handle_fail_order()
S
48 5 35
fail_order_args()
S
47 4 40
update_order_args()
S
51 3 28
get_unit_data()
S
59 3 15
format_order_item_name()
S
59 3 15
get_unit_data_for_ticket()
S
54 2 21
register()
S
50 1 35
sanitize_callback()
S
71 2 6
get_error_messages()
S
62 1 11
create_order_args()
S
82 1 3